/**
 * @Author Stringzhua
 * @Date 2024/2/1 19:39
 * description:
 */
public class ContinueDetail {
    public static void main(String[] args) {
        label1:
        for(int j = 0; j < 4; j++){
            label2:
            for(int i = 0; i < 10; i++){
                if(i == 2){
                //看看分别输出什么值，并分析
                //continue ;
                //continue label2;
                continue label1;//输出两次[0,1]
                }
                System.out.println("i = " + i);//输出两次[0,1,2,3,4,5,6,7,8,9]
            }
        }
    }
}
